package cn.kgc.watch.service;

import cn.kgc.watch.entity.CommoditySpu;

import java.util.List;
import java.util.Map;

import cn.kgc.watch.entity.CommoditySpu;
import cn.kgc.watch.entity.Specification;
import cn.kgc.watch.entity.vo.PageInfoVo;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

public interface CommoditySpuService{
 void add(CommoditySpu commoditySpu);
 //获取全部商品信息  分页
 PageInfo<CommoditySpu> findAll(Specification specification);
 //首页查询
 PageInfo<CommoditySpu>  findPage(PageInfoVo pageInfoVo);

    CommoditySpu findById(Integer id);
}
